﻿using System;
using SharpSqlAnalyzer.pp.processor;
using SharpSqlAnalyzer.pp.stmtformatter.type;
using SharpSqlAnalyzer.pp.stmtformatter.type.comm;

namespace SharpSqlAnalyzer.pp.stmtformatter.builder.comm
{
	// Token: 0x02000226 RID: 550
	public class PlsqlIfStmtFormatterBuilder : AbstractStmtFormatterBuilder
	{
		// Token: 0x06001281 RID: 4737 RVA: 0x00319348 File Offset: 0x00317548
		protected internal override void initSpecialProcessorForFormatter(AbstractStmtFormatter formatterArg)
		{
			PlsqlIfStmtFormatter plsqlIfStmtFormatter = formatterArg as PlsqlIfStmtFormatter;
			plsqlIfStmtFormatter.addSpecialProcessor(ProcessorFactory.createCapitalisationProcessor(this.Option));
			plsqlIfStmtFormatter.addSpecialProcessor(ProcessorFactory.createCombineWhitespaceAndClearReturnProcessor(this.Option));
			plsqlIfStmtFormatter.addSpecialProcessor(ProcessorFactory.createPlsqlIfStmtBEProcessor(this.Option));
		}

		// Token: 0x06001282 RID: 4738 RVA: 0x00319382 File Offset: 0x00317582
		protected internal override AbstractStmtFormatter newInstanceFormatter()
		{
			return new PlsqlIfStmtFormatter();
		}
	}
}
